package org.qiaice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.qiaice.entity.Employee;
import org.qiaice.entity.dto.EmployeeDTO;
import org.qiaice.entity.vo.EmployeeLoginVO;
import org.qiaice.result.PageResult;

public interface EmployeeService extends IService<Employee> {

    EmployeeLoginVO login(String username, String password);

    PageResult<Employee> pageQuery(String name, Integer page, Integer pageSize);

    void changeStatus(Integer status, Long id);

    void saveEmployee(EmployeeDTO employeeDTO);

    void changePassword(Long empId, String oldPassword, String newPassword);

    void change(EmployeeDTO employeeDTO);
}
